package com.yl.principles.demo4.after;

/**
 * @Author 小羊
 * @Date 29/10/2024下午 4:28
 * @ClassName XiaoYangSafetyDoor2
 * @Description XiaoYangSafetyDoor2
 */
public class XiaoYangSafetyDoor2 implements AntiTheft,FireProof{
    @Override
    public void antiTheft() {
        System.out.println("防盗");
    }

    @Override
    public void fireproof() {
        System.out.println("防火");
    }
}
